package br.com.locautowebbd.locatario;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;


@Entity
@DiscriminatorValue("2")
public class Agencia extends Locatario {
	@Column(name = "cpj")
	int cnpj;
	@Column(name = "razaoSocial")
	String razaoSocial;
	
	
public Agencia(){
		
	}


	public Agencia(int codigo, String login, String senha, String email,int cnpj,String razaoSocial) {
		super(codigo, login, senha, email);
		this.cnpj = cnpj;
		this.razaoSocial = razaoSocial;
		
	}


	public int getCnpj() {
		return cnpj;
	}


	public void setCpf(int cnpj) {
		this.cnpj = cnpj;
	}


	public String getRazaoSocial() {
		return razaoSocial;
	}


	public void setRazaoSocial(String razaoSocial) {
		this.razaoSocial = razaoSocial;
	}
	
	

}
